package com.toKnow.model.vo;

public class BasicVo {
    private Boolean success;
    private String message;
    private Object object;

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }

    @Override
    public String toString() {
        return "BasicVo{" +
                "success=" + success +
                ", message='" + message + '\'' +
                ", object=" + object +
                '}';
    }

    public BasicVo() {
    }

    public BasicVo(Boolean success, String message, Object object) {
        this.success = success;
        this.message = message;
        this.object = object;
    }

    public void clear(){
        success=null;
        message=null;
        object=null;
    }
}
